package com.woniuxy.lrz.carlproject.controller.form.userform;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("登录表单")
public class LoginForm {
    @ApiModelProperty("用户手机号")
    @NotBlank
    private String phone;
    @ApiModelProperty("用户密码")
    @NotBlank
    private String password;
}
